package com.hongfan.oauth.dto;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * Oauth2获取Token返回信息封装
 *
 * @author 占传森
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
public class Oauth2TokenDto {
    private Integer expiresIn;
    private String accessToken;
    private String tokenType;
    private Date expires;
}
